home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / UNIXTOOL / UNIXLIB37B / !UnixLib37_netlib_netlib_c_recvfrom < prev    next >
Encoding:
Text File  |  1996-07-28  |  526 b   |  24 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source$
  4.  * $Date$
  5.  * $Revision$
  6.  * $State$
  7.  * $Author$
  8.  *
  9.  * $Log$
  10.  * (c) Copyright 1995 Sergio Monesi
  11.  ***************************************************************************/
  12.  
  13. static const char rcs_id[] = "$Id$";
  14.  
  15. #include <sys/unix.h>
  16. #include <sys/socket.h>
  17.  
  18. int
  19. recvfrom (int s, char *msg, int len, int flags,
  20.       struct sockaddr *from, int *fromlen)
  21. {
  22.   return (_recvfrom ((__u->file + s)->r[0], msg, len, flags, from, fromlen));
  23. }
  24.